<script type="text/javascript">
	$(document).ready(function(){
		$('#frm-forgot').submit(function(){
			if($('#fp-email').val() == ''){
				$('#fp-email').parent().append('<span class="error">Email is required.</span>')
				return false;
			}
		});
	});
</script>
<div id = "fp-area-bg">
	<div id = "fp-area">
		<h2><img src = "<?php echo base_url(); ?>assets/images/password-h2.png" alt = "" /></h2>
		<div class="error" style="float:left;"><?php echo $message;?></div>
		<div class="cboth"></div>
		<div id = "forgot_pass">
			<form method="POST" action="<?php echo base_url();?>forgot_password" name="frm-forgot" id="frm-forgot">
				<p><label>Email</label><input type = "text" name = "fp-email" id = "fp-email" value="<?php echo $email;?>"/></p>
				<p><input type = "Submit" name="btn-forgot" id="btn-forgot" alt = "Submit" value=""/></p>
			</form>
		</div>
	</div>
</div>